package cn.changein.framework.service.setting.customer;


import cn.changein.framework.base.pojo.page.PageInfo;
import cn.changein.framework.kernel.model.response.ResponseData;
import cn.changein.framework.model.setting.customer.entity.CustomerService;
import cn.changein.framework.model.setting.customer.model.params.CustomerServiceParam;
import cn.changein.framework.model.setting.customer.model.result.CustomerServiceResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 客服管理 服务类
 * </p>
 *

 * @Date 2021-02-22
 * @Copyright: companyName
 * @Version 1.0
 * @Since JDK1.8
 */
public interface CustomerServiceService extends IService<CustomerService> {

    /**
     * 新增
     *

     * @Date 2021-02-22
     */
    void add(CustomerServiceParam param);

    /**
     * 删除
     *

     * @Date 2021-02-22
     */
    void delete(CustomerServiceParam param);

    /**
     * 更新
     *

     * @Date 2021-02-22
     */
    void update(CustomerServiceParam param);

    /**
     * 查询单条数据，Specification模式
     *

     * @Date 2021-02-22
     */
    CustomerServiceResult findBySpec(CustomerServiceParam param);

    /**
     * 查询列表，Specification模式
     *

     * @Date 2021-02-22
     */
    List<CustomerServiceResult> findListBySpec(CustomerServiceParam param);

    /**
     * 查询分页数据，Specification模式
     *

     * @Date 2021-02-22
     */
     PageInfo findPageBySpec(CustomerServiceParam param);

    ResponseData findCustomerServiceInfo();
}
